package com.hjm.project.statistical.snAllot.domain;

import com.hjm.framework.web.domain.BaseEntity;
import com.hjm.framework.aspectj.lang.annotation.Excel;
import lombok.Data;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * 终端分配统计对象 sn_allot
 * 
 * @author maker-platform
 * @date 2022-01-17
 */
@Data
public class SnAllot extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 代理编号 */
    @Excel(name = "代理编号")
    private String agentNum;

    /** 代理名称 */
    @Excel(name = "代理名称")
    private String agentName;

    /** 终端类型 0、传统 4、电签 */
    @Excel(name = "终端类型 0、传统 4、电签")
    private Integer type;

    /** 终端数量 */
    @Excel(name = "终端数量")
    private Integer storageCount;

    /** 剩余数量 */
    @Excel(name = "剩余数量")
    private Integer lowerCount;

    /** 已绑定 */
    @Excel(name = "已绑定")
    private Integer isBinding;

    /** 未绑定 */
    @Excel(name = "未绑定")
    private Integer isnotBinding;

    /** 创建日期 */
    @Excel(name = "创建日期")
    private String createDate;

    /** 所属月份 */
    @Excel(name = "所属月份")
    private String month;












    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("agentNum", getAgentNum())
            .append("agentName", getAgentName())
            .append("type", getType())
            .append("storageCount", getStorageCount())
            .append("lowerCount", getLowerCount())
            .append("isBinding", getIsBinding())
            .append("isnotBinding", getIsnotBinding())
            .append("createDate", getCreateDate())
            .append("month", getMonth())
            .toString();
    }
}
